Â
Â
Â
Below are examples of what can be done in Shiny.
Â
Police and Demand Planning Tool (Click here to Open separately)
Â
Â
A Shiny App to visualize and share a dog’s medical history. (Click here to Open separately)
Github Code
Â
Â
Real estate analytics, prediction modeling and forecasting for over 20,000 U.S. real estate markets. (Click here to Open separately)
Github Code Â
Â
Task 1: Create the folder structure in your working directory as shown below.
ÂIf you have both your UI and Server code in one R script, your folder should look like the following:
Â
Task 2: Create Shiny script and load Shiny library.
Â
To create your first Shiny app you have two options:
library(shiny)
ui <- fluidPage()
server <- function(input, output) {}
shinyApp(ui = ui, server = server)
Â
Task 3: Your app will be empty or will contain default code. Test Shiny works by running your app as shown below.
ÂÂ
Â
We will gradually build an app in steps today. Follow the brief below for your first step.